﻿namespace FFF.Test.Entity.Demo.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.Demo.View;       

	/// <summary>
    /// 学院表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(DemoSchoolEntity))] 
    public partial class DemoSchoolDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolName")]
		[StringLength(512)]
        public string SchoolName { get; set; }
        
		/// <summary>
        /// 父级GUID
        /// </summary>
		[Display(Name = "父级GUID", Description = "父级GUID")]
        [Column("ParentSchoolGUID")]
        public Guid? ParentSchoolGUID { get; set; }
        
		/// <summary>
        /// 学院排序编码
        /// </summary>
		[Display(Name = "学院排序编码", Description = "学院排序编码")]
        [Column("SchoolOrderCode")]
		[StringLength(128)]
        public string SchoolOrderCode { get; set; }
        
		/// <summary>
        /// 学院Icon
        /// </summary>
		[Display(Name = "学院Icon", Description = "学院Icon")]
        [Column("SchoolIcon")]
		[StringLength(256)]
        public string SchoolIcon { get; set; }
        
		/// <summary>
        /// 编码全称
        /// </summary>
		[Display(Name = "编码全称", Description = "编码全称")]
        [Column("SchoolFullCode")]
		[StringLength(1024)]
        public string SchoolFullCode { get; set; }
        
    }
    
    /// <summary>
    /// 学院表新增时候的dto
    /// </summary>
	[AutoMap(typeof(DemoSchoolEntity))]
    [AutoMapFrom(typeof(ViewDemoSchool))] 
    public partial class DemoSchoolCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolName")]
		[StringLength(512)]
        public string SchoolName { get; set; }
        
		/// <summary>
        /// 父级GUID
        /// </summary>
		[Display(Name = "父级GUID", Description = "父级GUID")]
        [Column("ParentSchoolGUID")]
        public Guid? ParentSchoolGUID { get; set; }
        
		/// <summary>
        /// 学院排序编码
        /// </summary>
		[Display(Name = "学院排序编码", Description = "学院排序编码")]
        [Column("SchoolOrderCode")]
		[StringLength(128)]
        public string SchoolOrderCode { get; set; }
        
		/// <summary>
        /// 学院Icon
        /// </summary>
		[Display(Name = "学院Icon", Description = "学院Icon")]
        [Column("SchoolIcon")]
		[StringLength(256)]
        public string SchoolIcon { get; set; }
        
		/// <summary>
        /// 编码全称
        /// </summary>
		[Display(Name = "编码全称", Description = "编码全称")]
        [Column("SchoolFullCode")]
		[StringLength(1024)]
        public string SchoolFullCode { get; set; }
        
    }
     
     /// <summary>
    /// 学院表更新时候Dto
    /// </summary>
	[AutoMap(typeof(DemoSchoolEntity))]
    [AutoMapFrom(typeof(ViewDemoSchool))] 
    public partial class DemoSchoolUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 编码
        /// </summary>
		[Display(Name = "编码", Description = "编码")]
        [Column("SchoolCode")]
		[StringLength(512)]
        public string SchoolCode { get; set; }
        
		/// <summary>
        /// 学院名称
        /// </summary>
		[Display(Name = "学院名称", Description = "学院名称")]
        [Column("SchoolName")]
		[StringLength(512)]
        public string SchoolName { get; set; }
        
		/// <summary>
        /// 父级GUID
        /// </summary>
		[Display(Name = "父级GUID", Description = "父级GUID")]
        [Column("ParentSchoolGUID")]
        public Guid? ParentSchoolGUID { get; set; }
        
		/// <summary>
        /// 学院排序编码
        /// </summary>
		[Display(Name = "学院排序编码", Description = "学院排序编码")]
        [Column("SchoolOrderCode")]
		[StringLength(128)]
        public string SchoolOrderCode { get; set; }
        
		/// <summary>
        /// 学院Icon
        /// </summary>
		[Display(Name = "学院Icon", Description = "学院Icon")]
        [Column("SchoolIcon")]
		[StringLength(256)]
        public string SchoolIcon { get; set; }
        
		/// <summary>
        /// 编码全称
        /// </summary>
		[Display(Name = "编码全称", Description = "编码全称")]
        [Column("SchoolFullCode")]
		[StringLength(1024)]
        public string SchoolFullCode { get; set; }
        
    }
}
